package com.czxy.demo04;

/**
 * Created by hp on 2020/2/1.
 */
public class BankCard {
    private double balance;

    @Override
    public String toString() {
        return "BankCard{" +
                "balance=" + balance +
                '}';
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public BankCard(double balance) {

        this.balance = balance;
    }

    public BankCard() {

    }
}
